public class test25 {
    public static void main(String[] args) throws ClassNotFoundException {
        Class<?> aClass = Class.forName("Apple");
//        Field apple = aClass.getDeclaredField("appleName");
//        apple.setAccessible(true);
//        if (apple.isAnnotationPresent(FruitName.class)) {
//            FruitName ano1 = (FruitName) aClass.getAnnotation(FruitName.class);
//            System.out.println(ano1.value());
//        }
//
//    }
//}
    }
}
